Skip to content
Manage
Objects
Analyse
Utility

Time Pattern#

A pattern that defines specific points in time.

Creates a time pattern by specifying months in the year, days in each month, hours in each day and the amount of time steps per hour.

Inputs

Name Nickname Description Type
Months M The months in the year, from 1 = January to 12 = December. Int32
Days D The days in each month, from 1 to 31. Int32
Hours H The hours of each day, from 0 to 23. Int32
Time Step T The number of time steps per hour. Int32

Outputs

Name Nickname Description Type
Time Pattern TP A pattern that defines specific points in time. TimePattern

Creates a time pattern by specifying start and end time for a time span and the amount of time steps per hour. This constructor will only use the month, day and hour properties of the start and end times.

Inputs

Name Nickname Description Type
Start Time S The start of the time span that this time patterns should cover. DateTime
End Time E The end of the time span that this time patterns should cover. DateTime
Time Step T The number of time steps per hour. Int32

Outputs

Name Nickname Description Type
Time Pattern TP A pattern that defines specific points in time. TimePattern

Creates a time pattern by merging a number of time patterns. All time patterns have to have the same amount of time steps per hour.

Inputs

Name Nickname Description Type
Time Patterns T A list of time patterns to merge into a single time pattern. TimePattern

Outputs

Name Nickname Description Type
Time Pattern TP A pattern that defines specific points in time. TimePattern